class AddRequests < ActiveRecord::Migration
  def self.up
      create_table :requests do |t|
          t.column :name, :string, :limit => 100, :null => false
          t.column :deadline, :datetime, :null => false
          t.column :status, :bool, :default => false, :null => false
      	  t.column :work_category_id, :integer, :null => false, :default => 0
      end
  end

  def self.down
      drop_table :requests
  end
end
